|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.23 03:32:00 -
[1]
Version: 1.0
Intro: So there I was, using a Teamspeak registration system that once worked well but is now outdated and falling to pieces :( (♥ u really Agent Unknown :) ). I saw that people had made their own but wanted outrageous amounts of ISK in order to share it. So, meh. I'll make my own simple, fast, easy to mod and adaptable system. Only one problem, I know jack about PHP. I only knew what little I learnt from building my alliance a nice new website.
So I learnt PHP :) Then built my baby piece by piece. Now you can have it. Call it my little gesture to share a little love in Eve. I plan to add more features such as red alt scanning etc. while keeping it fast in the future along with keeping up to date with the ever changing Teamspeak development. Also as I am/was/ish a sort of PHP noob, you should find my heavily commented code easy to understand.
Features: Cron job for quickly scanning if characters registered have left their corp/alliance and removes them Alliance whitelist Corporation whitelist Assign your own boys/girls into a separate group than your blues Shoo's away doorstep salesmen API interface powered by Pheal Teamspeak interface powered by TS3 PHP Framework
Down to business: Here it is: Mirror 1 - Sev3rance Alliance (MJ Maverick)
Baring in mind how much ISK people want for a system like this feel free to donate if you use it :) (me poor *sadface*). If you run into any problems then either use this thread or mail me in game and I'll be happy to help.
Any donations should be sent to "MJ Maverick".
Special Thanks To: Peter Powers from Pheal Wollari from DOTLAN ScP from Teamspeak
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.23 16:42:00 -
[2]
Hey Peter,
I know a bit about injections but was unable to give myself access with them. I see it as someone's API key is their responsibility but in light of what you said would you recommend using their FULL API? A lot of people wouldn't like to use this.
I'll hit you up in game next time I see you pop up but I really can't see a security problem.
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.23 19:23:00 -
[3]
Next time I see you we should have a discussion about alternative methods, I do have a few in mind. But as it is all Teamspeaks I have ever needed to register on use the API key method. True there are more secure methods, but keeping things simple is also key. I shall probably change the verification methods later on to a more secure way if I can find one that is also reliable.
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.25 17:19:00 -
[4]
Update v1.1
Added some spy and general imposter stuff. Also added an instructions page when people need to verify they are the account holder via making a new API. You should no longer be able to get a person in your database twice, but it checks anyway, that goes for TS also.
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.25 17:47:00 -
[5]
If you can make it work then please let me know straight away as yes, that would be serious, but I cannot. Raw data is taken yes. However an SQL injection still has to go through the API verification, as it will not be a valid API/user/char information it will of course fail. Thus never reaching the SQL stage it was intended to inject.
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.25 18:19:00 -
[6]
Edited by: MJ Maverick on 25/03/2011 18:29:30
inputID is just used when using the persons API prior to storage.
I'll take a look at those functions you linked and see if I can put them in just for good measure. I have to make sure that nothing filters ' or ! however as they have special meaning in my code. Because you have ' in character names, ! = ' as ' will crash an SQL statement so must be subsidised with ! in the database and switched back to ' whenever being displayed. But as it goes today, right now, I honestly don't see it susceptible to injections.
I will however add safeguards incase CCP do something daft.
Edit: In hind sight, a if I remove all ", ' and ; from all fields prior to storage then I should be immune anyway right? The problem is API Keys contain certain characters such as = so cannot be filtered. Do you know of a list of characters all API Keys are made up of?
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.25 19:18:00 -
[7]
Update v1.15
Made security future proof for SQL shenanigans.
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.25 22:18:00 -
[8]
Haha, I see what you mean. So by using that it would insert the ' into the database but not break the query :P right? To be honest how it is now will die() on SQL injection attempts, and as I don't want them in with my database even if they have no effect I just barred them completely. But in future when boxing with names with ' in and SQL I will use the escape function so definitely a thanks there. :D Thanks for the lesson.
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.25 22:57:00 -
[9]
Yeah I found that out reading up on your links.
$query = "INSERT INTO users (api_user,api_key,characterID,blue,tsDatabaseID,tsUniqueID,tsName) VALUES ('$inputID','$inputAPI','$characterID','$blue','$tsDatabaseID','$tsUniqueID','$tsName')"; $sqlquery = mysql_real_escape_string($query); mysql_query($sqlquery);
Is that good?
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.26 02:36:00 -
[10]
Edited by: MJ Maverick on 26/03/2011 02:44:34 A lot of what you say is my point. There is no practical way to be certain all members are who they say they are. All ways that prove this are plagued by cache timers like you said. For the sake of speed and getting people on comms every alliance/corporation I know uses the API Key. It's not perfect but in my opinion it is the best we have for practicality at the moment. If the cache timers didn't last so long then the wallet would be the first thing I'd leap for. But as it is, pretty much everyone uses API with one dodgy system or the other.
So I am simply trying to offer the best way to do it if you must use API. Which, as I said, most people are forced to. Perhaps I will make a way to merge the two, or make a just wallet verification system at some point. But as it stands, I'm just filling the void Agent Unknowns system left. I hope for all our sakes you get into CSM6 and are able to change CCPs opinion on verification. But at the end of the day, nothing is ever 100% secure.
Edit: I am using mysql_real_escape_string :P
------------------ CCP are not perfect. :)
|
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.27 23:00:00 -
[11]
That error is a complete failure to connect to your Teamspeak.
GameServers are wrong, the default port is in fact as stated in my readme "10011". Have you tried using that port? The only way it would not be 10011 is if GameServers have changed it from the default for some silly reason. :-/
http://forum.teamspeak.com/showthread.php/46486-Teamspeak-3-Server-Ports?p=200519#post200519
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.28 00:09:00 -
[12]
Any quote like that from a service provider deeply worries me. It shows incredible arrogance. I assure you my script works with the latest Teamspeak :)
If the server wasn't interpreting the commands correctly it would throw errors, not time out or not connect at all. I would suggest contacting GameServers on the basis their TS servers do not accept Queries... Which is both a failure of adiquette service and providing of the full service you pay for.
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.28 18:00:00 -
[13]
Originally by: PsyKzz MJ Maverick, do you know of R3tro? he's a dude in your alliance.
lol off-topic but yes.
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.29 15:37:00 -
[14]
Try this:
1) In Teamspeak go to Tools > ServerQuery. 2) Press the tick in the top right and select login command. 3) Enter this into the top box on the left:
login $tsname $tspass use 1 clientkick clid=YOUR_CLIENT_ID reasonid=5 reasonmsg=Test
Check your config.php and put in place of $tsname and $tspass what ever you have entered for them. For YOUR_CLIENT_ID click on your name in TS and on the right there is a number in brackets next to your name. So for example.
login username password use 1 clientkick clid=29 reasonid=5 reasonmsg=Test
If you get an invalid clientID error then try "use 2" then 3 then 4 until you run out of servers. (error id=1033 msg=server\sis\snot\srunning).
If it doesn't work then your provider has ServerQuery turned off and needs to be shot.
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.29 19:22:00 -
[15]
Keep the clientID as your client ID on the server (in brackets) but keep changing "use" up one number until you hit server not running again. Eventually you should be kicked from TS.
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.31 17:30:00 -
[16]
Try setting $tsport to 9186... 
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.31 21:57:00 -
[17]
Indeed they are. Never rely on headers.
So Varitina you have tried setting $tsport (NOT $tscport) to 9100, 10011 and 9186? Does the Teamspeak account you created the ServerQuery user with have server admin? I mean full server admin (all your permissions should be 75).
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.03.31 23:58:00 -
[18]
Edited by: MJ Maverick on 31/03/2011 23:59:47 Is your web server on your Teamspeak servers whitelist?
If not you need to contact your host, there is a file in the Teamspeak folder on the server called "query_ip_whitelist.txt". Your web servers IP must be in this. To find your websites IP adress open CMD and "ping www.mywebsite.com". Obviously make sure you send your web servers IP to your TS provider.
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.01 13:21:00 -
[19]
Varitina if it wasn't set then your Teamspeak will need restarting.
Sasha, [F10] = Failed to connect to your Teamspeak 3 server, ensure your details are correct.
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.02 00:32:00 -
[20]
Thanks Cyerus.
However a few things are intentional so I'll just point them out.
die() is used all the time because if a single stage of the registration fails then you need everything to stop. Otherwise you could end up with anything like people registered on TS but not in the database or visa versa. It can just cause a total mess.
I see your point about the variables :P I just didn't think it was such a biggy as the PHP manual says if you use " then the variable value will be printed, ' will just print the variable.
The reason the database is opened and closed continuously is to prevent time-outs on long runs. I had a distinct problem on some web servers of the connection timing out if held open for too long. So it's like that for compatibility purposes with other servers.
I don't really want to add stuff I'm not going to totally utilise. I'm trying to keep it as "lite" as possible. Think Windows 95 not Vista.
------------------ CCP are not perfect. :)
|
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.03 16:00:00 -
[21]
Edited by: MJ Maverick on 03/04/2011 16:01:00 I'm sorry to hear that. But it genuinely sounds like a real problem with your host. They have clearly messed with settings and screwed up the Teamspeaks ability to communicate. After they added your websites IP to their whitelist did they reboot the Teamspeak? Also have you tried the different query ports we tried before since?
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.11 17:27:00 -
[22]
Thanks for assisting Mediek :)
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.11 18:07:00 -
[23]
Update: v1.2
Security bot now optional to make sure people have the correct name. If you changed register.php to have "TICKER | NAME" then don't worry. The bot will know about you putting the | in and shouldn't go on a kicking spree if you did it properly. General code tweaks made. Readme updated.
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.12 18:57:00 -
[24]
Originally by: Mediek Ordos
If you changed register.php to have "TICKER | NAME" <<< would this be here line 192// SET NICKNAME $nickname = $corpTicker." ".$character; // TRY TO CONNECT - GATHER DETAILS - GRANT PERMISSIONS - STORE DETAILS
and like this ? $nickname = $corpTicker."| A-C-E | ".$character; ? co's i am thick when it comes to php :-) ps only to glad to help peeps
Hehe, no worries.
If you want "ACE | Mediek Ordos" then edit $nickname to:
[Line 193]
$nickname = $corpTicker." | ".$character; [Line 247]
if ($alliancemate == true) { $nickname = $corpTicker." | ".$character; } else { $nickname = $allianceTicker." | ".$corpTicker." | ".$character; }
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.12 21:34:00 -
[25]
Originally by: Mediek Ordos
ok nearly :-) If you want "ACE | Mediek Ordos" then edit $nickname to: I want to do this "| ACE | Mediek Ordos" then edit $nickname to: or " RAGE | ACE | Mediek Ordos" then edit $nickname to:
[Line 193]
$nickname = "| ".$corpTicker." | ".$character; [Line 247]
if ($alliancemate == true) { $nickname = "| ".$corpTicker." | ".$character; } else { $nickname = $allianceTicker." | ".$corpTicker." | ".$character; }
Will produce: | ACE | Mediek Ordos and RAGE | ACE | Mediek Ordos
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.15 00:33:00 -
[26]
Indeed, if your character ID is 0 then it's because the character you entered doesn't exist.
Example: Character "Dutch Psycho00" DOES exist. Character "CP Dutch Psycho00" DOES NOT exist.
Please see the readme for how to register.
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.15 14:06:00 -
[27]
Ok in your config you should have this:
public $corpList = array("Lucifer's Hammer");
NOTE the "" either side of Lucifer's Hammer.
If you DO have it like that and it's not working then try changing register.php line 164 to:
if (!in_array("$fetchCorporation",$c->corpList)) {
Please let me know if this works, if you have set the config properly then I need to know if my app is not using ' properly.
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.16 17:44:00 -
[28]
Hmm, try again. I just checked the files I uploaded and it's saying 1.2 :/ Perhaps it didn't upload properly the first time.
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.17 16:35:00 -
[29]
Hmmmm, apparently it helps if you actually put the files in the zip before uploading.
...Doing too many things at once again... lol
------------------ CCP are not perfect. :)
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.22 19:09:00 -
[30]
Kari, make sure you are registering correctly. Take a look at the readme on how to register.
Your name in Teamspeak should be exactly: "-XMP- Kari Trace" Your Character Name on the registration page should be exactly: "Kari Trace"
API Error: 512 = Invalid charID passed to CharData.GetCharacter().
This is likely due to not entering your name into the "Character Name" box correctly.
Hope this helps bud.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.23 03:12:00 -
[31]
Edited by: MJ Maverick on 23/04/2011 03:14:21
Does this link work after you fill in your details?
http://api.eveonline.com/account/Characters.xml.aspx?&userID=YOUR_USERID&apiKey=YOUR_APIKEY
If it loads, view source and you should have something like:
<?xml version='1.0' encoding='UTF-8'?> <eveapi version="2"> <currentTime>2011-04-23 03:12:21</currentTime> <result> <rowset name="characters" key="characterID" columns="name,characterID,corporationName,corporationID"> <row name="Character 1" characterID="NUMBERS" corporationName="STUFF" corporationID="NUMBERS" /> <row name="Character 2" characterID="NUMBERS" corporationName="STUFF" corporationID="NUMBERS" /> <row name="Character 3" characterID="NUMBERS" corporationName="STUFF" corporationID="NUMBERS" /> </rowset> </result> <cachedUntil>2011-04-23 04:08:00</cachedUntil> </eveapi>
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.23 21:32:00 -
[32]
That's certainly some anomaly you have their KAri. I've done a bit of research and it seems to be something some users get and its definitely the API server not EVEOTS.
Have you tried creating a new Limited API Key? Perhaps that might snap the server out of it.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.24 14:20:00 -
[33]
Great, thanks again Mediak. Have you checked if Kari had the groups set right on his server?
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.24 22:30:00 -
[34]
@ Sue Hareka: I'm not sure what you mean. The program of course reads config.php otherwise the file would be pointless and the program wouldn't work.
@ Father O'Malley: In config.php set $verbose to "true" to turn on debug mode. Then please paste what the page produces.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.26 03:46:00 -
[35]
Update v1.3: MkII (first post lost due to crappy forum asking me to lo in again. FFS) General code clean up. Handles even more errors properly. Added staged registration as requested (Yay). Added compatibility for option ticker separators as requested. _______________________________________________________________
Something in there for you Mediek, thanks for helping the peeps. Very much appreciated
@ Father O'Malley Looks like a total failure of the functions.php kicking in. Make sure it's uploaded and the file structure is as it should be. If all else fails, convo me in game.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.04.29 17:56:00 -
[36]
No idea what Centos 5 is but thanks for pointing out I left out the option for corps... I've put it in now and uploaded a new copy.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.05.17 02:21:00 -
[37]
Have you changed the code at all? There isn't an F11 by default and the "TEST" bit in the message makes me feel you may have changed something.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.05.17 13:31:00 -
[38]
I have no idea what they have changed so I couldn't support you on it too much. But the nearest error is an F11.
Basically your Teamspeak is refusing your connection. Make sure you have restarted your Teamspeak after adding your web server to the whitelist.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.05.17 17:14:00 -
[39]
Did you have it working before you changed the code?
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.05.27 18:04:00 -
[40]
:) Need to be very careful copy/pasting sensitive details.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.06.25 18:02:00 -
[41]
Hey Pedro, there are a few possibilities.
Have you made sure that your VPS host hasn't got the query port (default 10011) blocked by a firewall? Check with them and make sure it's forwarded correctly. If that's not the problem send me a mail with some TS information and I'll have a rummage around.
As a connection is being sucessfully made it doesn't look like it's your web server. The VPS is actively blocking the connection.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.06.27 18:33:00 -
[42]
Yeah, just don't use the alliance list. Leave it empty. Just put the two corp names in the Corp List.
@Pedrosito85 I'm talking with the Teamspeak chaps about this one... Seems very odd.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.07.15 16:48:00 -
[43]
Edited by: MJ Maverick on 15/07/2011 16:48:30 No, but I have taken your idea on-board... I like it.
v1.31 Teamspeak 3 only supports character names up to 30 characters. Any nicknames that come to more than that will no longer cause registration problems.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.07.23 18:14:00 -
[44]
Hi, sorry about the delay T0m.
I have no idea why so much memory is being *****d. What PHP and MySQL versions are you running? Have you tried running PHP in strict mode? Personally I'd contact your host... This seems like a pretty drastic server mess.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.07.24 16:37:00 -
[45]
Thanks T0m, I'll make a note of that error and see if anything can be done to notify you of such problems.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.08.23 23:39:00 -
[46]
Hi chaps, best thing to do if you are having problems is read the previous pages. All these errors have been had before. Failing that mailing me in game is the quickest way to get a hold of me.
[F10] = The web server failed to connect to the TS. So things you need to check are, firewalls, blocked ports, if it's actively refused then you need to make sure you are using a SQAdmin that was created by a person with FULL SA on TS. Remember to check with your provider for blocked ports on both the web server and the TS. Also some TS providers like to disable ServerQuery because they are "special". The kind of special you put on a bus and send on it's merry way as far away from the rest of humanity as possible.
@Keil Sonter, users are only entered into the database once they have been successfully registered.
@Dutch Psycho00, I only advise using a local database, in these cases you need to double and triple check your database details. Try recreating a new one, remember spaces can be bad. Failing that make sure your host hasn't been "special" and disabled any modifications of the database that aren't done manually.
@Duc Lebowski, I'm looking into URI's but for now I believe it's invalid login credentials.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.08.29 00:13:00 -
[47]
Update: v1.5 Admin panel added. All admin actions are logged. Security level allows you to have admins and just whitelist operators. Admin lists stream the admins current corp/alliance. Cron job updates whitelist member counts. Change password. Admins can edit admin accounts easily. Whitelist is now totally databased. Cron.php in /admin/ added to optionally update whitelist member counts.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.08.29 04:09:00 -
[48]
You're more than welcome, and yay \o/ :D
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.08.30 18:40:00 -
[49]
Edited by: MJ Maverick on 30/08/2011 18:45:25
Alright C'Thul calm down dude, no one asked for your CV. I don't really want any rioting in my thread.
What it does is: Registrations are based on your UniqueID right? Permissions are tied to that right? Well, presuming you have your TS setup so only certain groups can access/view your channels with the exception of the default channel. EVEOTS will automatically assign people those permissions if they meet the white list criteria.
I do have plans to make it more friendly for those with large numbers of groups like Balani and many others have asked. But it's a fair chunk of work so I'm leaving it until after the new API system comes out... If I can ever work that mystery out. I'm also going to be adding a member edit list in there, but more really wanted to get it out before the new API system came along to strap C4 to all my work.
@MillerUK, your chunk of code doesn't check if they are authorised that I can see :/ it only seems to prepare to check, log into a SL2 account and check that out. Also remember to mention you changed ".$_SESSION['character']" or people using it could break their panel.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.09.04 22:21:00 -
[50]
Originally by: king curt Edited by: king curt on 02/09/2011 17:40:45 MJ,
Got a question for you. I got everything working well, but I think there is a problem with the cron job for the admin portion and am getting the following error on the cron output:
<br /> <b>Warning</b>: require_once(functions.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in <b>/home5/xxxxxxx/public_html/eveots/admin/cron.php</b> on line <b>9</b><br /> <br /> <b>Fatal error</b>: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'functions.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in <b>/home5/xxxxxxx/public_html/eveots/admin/cron.php</b> on line <b>9</b><br />
This is from your cron php:
require_once("../pheal/Pheal.php"); require_once("../config.php"); require_once("../functions.php"); require_once("functions.php");
Is the last require_once('functions.php") correct? Should it be there?
Ahhh, sorry about that, last minute change. Fixed now. Redownload and just replace that file.
@Cpt Sc4rlet Run eveots/cron.php, done.
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|
|
|
|
|